﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ConfigInfoWebPlatform.API.ViewModel
{
    public class WRoot
    {
        public List<CaseTypeWritItem> CaseTypeWrit { get; set; }
    }
    /// <summary>
    /// 案件类型下的文书
    /// </summary>
    public class CaseTypeWritItem
    {
        /// <summary>
        /// 案件类型 英文简称
        /// </summary>
        public string code { get; set; }

        /// <summary>
        /// 案件类型 中文
        /// </summary>
        public string caseTypeZh { get; set; }

        /// <summary>
        /// 案件类型下对应的文书
        /// </summary>
        public List<WritsItem> writs { get; set; }
    }

    /// <summary>
    /// 文书类型
    /// </summary>
    public class WritsItem
    {
        /// <summary>
        /// 文书类型code  英文简称
        /// </summary>
        public string code { get; set; }

        /// <summary>
        /// 文书类型
        /// </summary>
        public string name { get; set; }
    }
}
